﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MYQQX.SP
{
    public class Ywy_ym : ISp
    {
        
        public override string Name => "云无月·魇魅";

        public override string Desc => @"技能效果一：禁用对方任意一张珍稀牌的技能
技能效果二：北洛的分数增加15分";

        public override int SpScore => 4;

        public override int GetExtraScore(CardGroup group)
        {
            if (group.Group.Any(t => t.Name == "北洛"))
                return 15;

            return base.GetExtraScore(group);
        }

        public override void Got(CardGroup MyGroup, CardGroup OtGroup)
        {
            Disable(OtGroup);
        }
    }
}
